package com.education.welco.feign;


import com.education.common.pojo.SysInfoMsg;
import com.education.common.utils.ApiReturnObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

@FeignClient(value = "user-service")
public interface InfoMsgFeign {

    @RequestMapping(value = "sysInfoMsg/list2",method = RequestMethod.GET)
    public List<SysInfoMsg> queryMsg(@RequestParam(value = "userId", required = true) Integer userId);

    @RequestMapping(value = "admin/webServer/imgs",method = RequestMethod.POST)
    public ApiReturnObject queryMsg2(@RequestParam(value = "file", required = true) MultipartFile[] files);



}
